package com.iplant.mes.service.po.sfc.autoStation;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * （设备集成）设备批量自检数据结构
 *
 * @author YouWang·Peng
 * 2023-12-18 14:09:14
 */
public class SFCDeviceSelfData implements Serializable {

    /**
     * 工单任务Code
     */
    public String TaskSelfCode = "";
    /**
     * 工单任务ID
     */
    public int TaskSelfID = 0;
    /**
     * 订单号 工单所属订单
     */
    public String OrderNo = "";
    /**
     * 订单ID
     */
    public int OrderID = 0;
    /**
     * 工件号
     */
    public String WorkpieceNo = "";
    /**
     * 工件加工结果
     */
    public int CheckResult = 0;
    /**
     * 参数值
     */
    public List<SFCDeviceSelfDataItem> ParamValueList = new ArrayList<>();

    @JsonProperty("TaskSelfCode")
    public String getTaskSelfCode() {
        return TaskSelfCode;
    }

    public void setTaskSelfCode(String taskSelfCode) {
        TaskSelfCode = taskSelfCode;
    }

    @JsonProperty("TaskSelfID")
    public int getTaskSelfID() {
        return TaskSelfID;
    }

    public void setTaskSelfID(int taskSelfID) {
        TaskSelfID = taskSelfID;
    }

    @JsonProperty("OrderNo")
    public String getOrderNo() {
        return OrderNo;
    }

    public void setOrderNo(String orderNo) {
        OrderNo = orderNo;
    }

    @JsonProperty("OrderID")
    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    @JsonProperty("ParamValueList")
    public List<SFCDeviceSelfDataItem> getParamValueList() {
        return ParamValueList;
    }

    public void setParamValueList(List<SFCDeviceSelfDataItem> paramValueList) {
        ParamValueList = paramValueList;
    }

    @JsonProperty("WorkpieceNo")
    public String getWorkpieceNo() {
        return WorkpieceNo;
    }

    public void setWorkpieceNo(String workpieceNo) {
        WorkpieceNo = workpieceNo;
    }

    @JsonProperty("CheckResult")
    public int getCheckResult() {
        return CheckResult;
    }

    public void setCheckResult(int checkResult) {
        CheckResult = checkResult;
    }
}
